<?php

if(stristr($_SERVER['PHP_SELF'],".inc.php")) { 
	header("Location:index.php"); 
	exit; 
}
?>

<fieldset style="width:500px;margin-left:auto;margin-right:auto;text-align:left;">
	<legend>Select an Action</legend>
	<table width="100%; align="center">
		<tr>
			<td align="center"><a href="<?php echo $self; ?>?op=add">
			<img class="nb" src="./smallaxe_icons/newpost.gif" alt="icon" /></a></td>
			<td align="center"><a href="<?php echo $self; ?>?op=posts">
			<img class="nb" src="./smallaxe_icons/posts.gif" alt="icon" /></a></td>
			<td align="center"><a href="<?php echo $self; ?>?op=users&subop=add">
			<img class="nb" src="./smallaxe_icons/newuser.gif" alt="icon" /></a></td>
			<td align="center"><a href="<?php echo $self; ?>?op=users">
			<img class="nb" src="./smallaxe_icons/users.gif" alt="icon" /></a></td>			
						
		</tr>
		<tr>
			<td align="center"><a href="<?php echo $self; ?>?op=add">Add New Post</a></td>
			<td align="center"><a href="<?php echo $self; ?>?op=posts">Manage Posts</a></td>
			<td align="center"><a href="<?php echo $self; ?>?op=users&subop=add">Add New User</a></td>
			<td align="center"><a href="<?php echo $self; ?>?op=users">Manage Users</a></td>			
						
		</tr>

		<tr>
			<td align="center"><a href="<?php echo $self; ?>?op=topics&subop=add">
			<img class="nb" src="./smallaxe_icons/newtopic.gif" alt="icon" /></a></td>
			<td align="center"><a href="<?php echo $self; ?>?op=topics&subop=mod">
			<img class="nb" src="./smallaxe_icons/topics.gif" alt="icon" /></a></td>
			<td align="center"><a href="<?php echo $self; ?>?op=my">
			<img class="nb" src="./smallaxe_icons/prefs.gif" alt="icon" /></a></td>
			<td align="center"><a href="<?php echo $self; ?>?op=upload">
			<img class="nb" src="./smallaxe_icons/upload.png" alt="icon" /></a></a>
		</tr>
		<tr>
			<td align="center"><a href="<?php echo $self; ?>?op=topics&subop=add">Add New Topic</a></td>
			<td align="center"><a href="<?php echo $self; ?>?op=topics&subop=mod">Manage Topics</a></td>
			<td align="center"><a href="<?php echo $self; ?>?op=my">Preferences</a></td>
			<td align="center"><a href="<?php echo $self; ?>?op=upload">Upload Files</a></a>			
		</tr>

	</table>
</fieldset>

